package com.wpml;


import com.wpml.model.Person;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.util.ObjectUtils;

public class App {
    public static void main(String[] args) {

        System.out.println(ObjectUtils.identityToString(new App()));

//        ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
        ApplicationContext context = new MyClassPathXmlApplicationContext("spring.xml");


        System.out.println(context.getBean(Person.class));
    }
}
